package com.rika.service.impl;

import com.rika.dao.SomainDao;
import com.rika.pojo.PoMain;
import com.rika.pojo.SoMain;
import com.rika.service.SomainService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
@Service
public class SomainServiceImpl implements SomainService {
    @Resource
    private SomainDao somainDao;
    @Override
    public List<SoMain> selectAllSomain(Map<String, Object> params) {
        return somainDao.selectAllSomain(params);
    }

    @Override
    public Integer countAll2() {
        return somainDao.countAll2();
    }

    @Override
    public void addSomain(SoMain soMain) {
        somainDao.addSomain(soMain);
    }

    @Override
    public void deleteSoMain(Long soId) {
        somainDao.deleteSoMain(soId);
    }

    @Override
    public List<SoMain> selectBySoId(Long soId) {
        return somainDao.selectBySoId(soId);
    }

    @Override
    public void updateSoMain(SoMain soMain) {
        somainDao.updateSoMain(soMain);
    }

    @Override
    public List<SoMain> selectAllSomainForSettle(Map<String, Object> params) {
        return somainDao.selectAllSomainForSettle(params);
    }

    @Override
    public void settleSoMain(Map<String, Object> params) {
        somainDao.settleSoMain(params);
    }

    @Override
    public List<SoMain> selectSoMainQuery(Map<String, Object> params) {
        return somainDao.selectSoMainQuery(params);
    }

    @Override
    public List<SoMain> selectSoMainInStore(Map<String, Object> params) {
        return somainDao.selectSoMainInStore(params);
    }

    @Override
    public Integer selectSoMainInStoreCount() {
        return somainDao.selectSoMainInStoreCount();
    }

    @Override
    public void updateSoMainToOutStore(Map<String, Object> params) {
        somainDao.updateSoMainToOutStore(params);
    }

    @Override
    public List<SoMain> selectSoMainIncome1(Map<String, Object> params) {
        return somainDao.selectSoMainIncome1(params);
    }

    @Override
    public Integer selectSoMainIncome1CountAll() {
        return somainDao.selectSoMainIncome1CountAll();
    }

    @Override
    public void updateincome1(SoMain soMain) {
        somainDao.updateincome1(soMain);
    }

    @Override
    public List<SoMain> selectSoMainIncome2(Map<String, Object> params) {
        return somainDao.selectSoMainIncome2(params);
    }

    @Override
    public Integer selectSoMainIncome2CountAll() {
        return somainDao.selectSoMainIncome2CountAll();
    }

    @Override
    public List<SoMain> selectSoMainIncome3(Map<String, Object> params) {
        return somainDao.selectSoMainIncome3(params);
    }

    @Override
    public Integer selectSoMainIncome3CountAll() {
        return somainDao.selectSoMainIncome3CountAll();
    }

    @Override
    public void updateincome2(SoMain soMain) {
        somainDao.updateincome2(soMain);
    }

    @Override
    public List<SoMain> selectSoMainNum(Map<String, Object> params) {
        return somainDao.selectSoMainNum(params);
    }

    @Override
    public Integer selectSoMainEndNum(Map<String, Object> params) {
        return somainDao.selectSoMainEndNum(params);
    }

    @Override
    public List<SoMain> selectEndSomainPrice(Map<String, Object> params) {
        return somainDao.selectEndSomainPrice(params);
    }

    @Override
    public List<SoMain> selectSoMainReportList(Map<String, Object> params) {
        return somainDao.selectSoMainReportList(params);
    }
}
